﻿<%@ Page Language="C#" MasterPageFile="~/Admin/AdminPage.Master" AutoEventWireup="true"
    CodeBehind="AdjustGuide.aspx.cs" Inherits="HiTeachers.Web.AdjustGuide" Title="HiTeachers - Chỉnh sữa các quy định, hướng dẫn" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphMain" runat="server">
    <div id="divForm" class="admcontent">
        <asp:Label ID="lblMsg" CssClass="SuccMsg" Width="455px" runat="server"></asp:Label>
        <table width="100%" cellpadding="3" cellspacing="3">
            <tr>
                <td class="admToolbar">
                    Chỉnh sửa:&nbsp;<asp:DropDownList ID="ddlContentType" OnSelectedIndexChanged="DdlContentTypeSelectedIndexChanged"
                        AutoPostBack="true" runat="server">
                        <asp:ListItem Value="" Text="Chọn nội dung chỉnh sửa"></asp:ListItem>
                        <asp:ListItem Value="Rules" Text="Quy định"></asp:ListItem>
                        <asp:ListItem Value="Intro" Text="Giới thiệu"></asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="rfvSelectContent" InitialValue="" ControlToValidate="ddlContentType"
                        ErrorMessage="Bạn hãy chọn nội dung cần chỉnh sữa" Display="Dynamic" ValidationGroup="Guide"
                        runat="server"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="left">
                    <label class="lblIntrText">
                        Nội dung:</label>
                    <asp:RequiredFieldValidator ID="rfvContent" ControlToValidate="txtContent" ErrorMessage="Bạn hãy nhập nội dung tin tin!"
                        Display="Dynamic" ValidationGroup="Guide" runat="server"></asp:RequiredFieldValidator><br />
                    <CKEditor:CKEditorControl ID="txtContent" Height="320px" HtmlEncodeOutput="true"
                        runat="server"></CKEditor:CKEditorControl>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Button ID="btnSave" OnClick="BtnSaveClick" CssClass="btnClass" Text="Lưu" ValidationGroup="Guide"
                        runat="server" />&nbsp;&nbsp;
                    <asp:Button ID="btnCancel" OnClick="BtnCancelClick" CssClass="btnClass" Text="Hủy"
                        runat="server" />
                    <asp:HiddenField ID="hdfContentId" runat="server" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
